Here's some random music programs I wrote years ago when I was in music theory. 

PRNSTAFF prints staff paper. You can adjust the left and top margins, the space between the individual staff lines, and the space between staves (as a percentage of normal staff height). All measurements are in points; there are 72 points to an inch. Bear in mind that the "Pages" text box works independently of the "Copies" text box on the Print dialog; the total number of pages is these two numbers multiplied. The default sizes produce the staff paper that I use; 19 tiny staves on a single letter sheet, allowing for lots of music on a page.

THEGIRD is an accidental-but-humorous misspelling of "The Grid". It's used to generate "the grid" of transpositions, retrogrades, inversion, and retrograde inversions of a given tone row. "The grid" is a 12x12 arrangement of notes; by reading it horizontally or vertically, forward or backward, you can find all possible "variations" on a tone row. A tone row is simply an arrangement of the 12 tones in the chromatic scale, in whatever order you please. Twelve-tone fanatics claim that using all these various versions of your tone row will make you creative; they're lying. In any event, filling out the grid by hand is, in my opinion, a waste of precious time. So this program does it for you.

Fill out the "Original Row" by clicking on an entry and typing a note name (capital letter): use the suffix "b" for flat and "#" for sharp. For example, "Ab", "E#", "C#", "B", etc. Double-flats and double sharps are not supported, and if you leave off the suffix then the note is natural. Notice that there are no octave designations; in twelve-tone you can move notes up or down any number of octaves without remorse. Use Backspace to correct mistakes. Mistakes produce weird results, but (so far), no crashes.

Click "Fill Grid" to fill the grid with the entries. Read the rows from left to right to get the original row, transposed (row O-1 is the untransposed original, row O-12 is the original row transposed 11 half-steps). Read the rows from right to left to get retrogrades. Read columns from top to bottom to get inversions (also transposed, I-1 is the original). Read from bottom to top to get retrograde-inversions. Click "Print" to print the grid, suitable for homework assignments or framing. 

If you're really lazy, you can click the "Random" button. This will generate the original row randomly; you don't have to do any work at all. You can also click the "Chromatic" button to fill in the original row with a straight chromatic scale; this doesn't result in a very interesting grid, but it might help you understand what's going on.

LICENCING:
I have included the VB3 source code for these programs. They are both Copyright 2003 Andy Clifton, but you can do what you will with the code and the executables. Of course, there is no warranty with either; you assume all responsibility for the results of using these programs.